package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 音乐对象 admin_music
 * 
 * @author ruoyi
 * @date 2020-06-17
 */
public class AdminMusic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 音乐id */
    @Excel(name = "音乐id")
    private Long musicId;

    /** 音乐编号 */
    private String musicNo;

    /** 音乐名称 */
    @Excel(name = "音乐名称")
    private String musicName;

    /** 音乐地址 */
    private String music;

    /** 音乐时长 */
    private String musicTime;

    /** 音乐专辑介绍 */
    private String album;

    /** 音乐介绍 */
    private String introduce;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 所属单位 */
    private Long companyId;

    /** 所属单位 */
    @Excel(name = "所属单位")
    private String companyName;

    /** 帐号状态（0正常 1停用） */
    private String delFlag;

    /** 用户Id */
    private Long userId;


  /** 课时编号 */
  private Long preidId;

  /** 课时ID */
  private String addPeriedFlag;

  public String getAddPeriedFlag () {
    return addPeriedFlag;
  }

  public void setAddPeriedFlag (String addPeriedFlag) {
    this.addPeriedFlag = addPeriedFlag;
  }

  public Long getPreidId () {
    return preidId;
  }

  public void setPreidId (Long preidId) {
    this.preidId = preidId;
  }

    public void setMusicId(Long musicId) 
    {
        this.musicId = musicId;
    }

    public Long getMusicId() 
    {
        return musicId;
    }
    public void setMusicNo(String musicNo) 
    {
        this.musicNo = musicNo;
    }

    public String getMusicNo() 
    {
        return musicNo;
    }
    public void setMusicName(String musicName) 
    {
        this.musicName = musicName;
    }

    public String getMusicName() 
    {
        return musicName;
    }
    public void setMusic(String music) 
    {
        this.music = music;
    }

    public String getMusic() 
    {
        return music;
    }
    public void setMusicTime(String musicTime) 
    {
        this.musicTime = musicTime;
    }

    public String getMusicTime() 
    {
        return musicTime;
    }
    public void setAlbum(String album) 
    {
        this.album = album;
    }

    public String getAlbum() 
    {
        return album;
    }
    public void setIntroduce(String introduce) 
    {
        this.introduce = introduce;
    }

    public String getIntroduce() 
    {
        return introduce;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("musicId", getMusicId())
            .append("musicNo", getMusicNo())
            .append("musicName", getMusicName())
            .append("music", getMusic())
            .append("musicTime", getMusicTime())
            .append("album", getAlbum())
            .append("introduce", getIntroduce())
            .append("status", getStatus())
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .toString();
    }
}
